count = 0

def DFS(n):
    global count
    if n == 2: return
    for i in range(10):
        count += 1
        DFS(n+1)

DFS(0)

count2 = 0
for i in range(10):
    for j in range(10):
        count2 += 1 
print(count)
print(count2)
